package com.service;

import java.sql.SQLException;
import java.util.List;

// Service����㣬����������
public interface BaseService<T,K> {
	Integer save(T t) throws SQLException;
	Integer update(T t) throws SQLException;
	Integer remove(K id) throws SQLException;
	T getById(K id) throws SQLException;
	List<T> getAll() throws SQLException;
	
}
